package Demo1;

public class Test {
    public static void main(String[] args) {
        MyDoubleLinkList myDoubleLinkList = new MyDoubleLinkList();
        myDoubleLinkList.addFirst(3);
        myDoubleLinkList.addFirst(2);
        myDoubleLinkList.addFirst(1);
        myDoubleLinkList.display();
        myDoubleLinkList.addLast(4);
        myDoubleLinkList.addLast(5);
        myDoubleLinkList.addLast(6);
        myDoubleLinkList.display();
        System.out.println(myDoubleLinkList.size());

    }
}
